-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(windows): use http
scheme by default for custom protocols and add option to change it
#994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could make this the default (and flipped around if ported to tauri 1.x ofc)? what about android too?
Co-authored-by: Amr Bashir <[email protected]>
Sounds good to me.
|
Alright, lets worry about it later since mobile is still in alpha. |
http
scheme for custom protocolshttp
scheme by default for custom protocols and add option to change it
Hello! I'm not famaliar about it. I want to consult that if we should change https://github.com/tauri-apps/tauri/blob/af3268a4be69e2dee72ba867ee54bc36d12712e6/core/tauri/src/manager.rs#L515 to http too after this? Except it, What others should I do to use tauri with a http backend? And if tauri-2.X can use it? Thanks! |
@Dirreke For v1 i'm working on it here: tauri-apps/tauri#7645 (mainly waiting for a new wry release). With the release of 1.5 we'll merge v1 into v2 one last time so this change will also be available in a future v2 release. |
…d add option to change it ref #994
We get pretty much daily requests/complains about tauri-apps/tauri#3007 and since http://localhost is still a secure context and using http will now match the behavior when using custom schemes (on Linux&macOS) i think this is honestly a no-brainer at this point.
I do plan to backport this to the version used in tauri 1.x after we polished&merged this PR :)
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
Other information